libxc foreign address translation bug
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 2 May 2008 12:46:16 +0000 (13:46 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 2 May 2008 12:46:16 +0000 (13:46 +0100)
commitb2870e0a214f9c663c37992385a25011954828c6
treefbb271ff9681b7849d6300f456c9a4b45ad9ec04
parent622e368758b626b4567237395e5217761efb43d8
libxc foreign address translation bug

In the xc_translate_foreign_address function from libxc, there is a
check on the page directory entry to see if the page is 4K or 4M.
However, the check is looking at bit 3, when it should be looking at
bit 7.  This patch fixes the problem.

Signed-off-by: Bryan D. Payne <bryan@thepaynes.cc>
tools/libxc/xc_pagetab.c